package com.zsk.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("gop角色菜单关联实体类")
public class GopRoleMenuRelation implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "主键编号", dataType = "Long")
    private Long id;

    @ApiModelProperty(name = "menuId", value = "菜单编号", dataType = "Long")
    private Long menuId;

    @ApiModelProperty(name = "roleId", value = "角色编号", dataType = "Long")
    private Long roleId;

    private static final long serialVersionUID = 1L;

}